<?php namespace Admin\Controller; 

use Hdphp\Controller\Controller;

/**
 * 后台的权限验证
 * @author  admin
 */
class AuthController extends Controller{
	
	public function __construct()
	{
		if(!isset($_SESSION['admin_id'])){
			go('Admin/Login/login');
		}
		parent::__construct();
	}

}
